/*
 * Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
 */

package io.ktor.openapi

internal fun <T, U> Pair<T, T>.mapValue(transform: (T) -> U): Pair<U, U> =
    transform(first) to transform(second)
